
public class MAIN {
	public static void main(String[] args) {
		Facade facade = new Facade();

		Profile akira = new Profile("Akira", "edson@akira.com", Instrument.BATERIA, Style.METAL);
		Profile marcos = new Profile("Malaxandre", "marcos@java.com", Instrument.BATERIA, Style.POP);
		Profile joao = new Profile("Mc João", "joao_java@gmail.com", Instrument.CAVAQUINHO, Style.ROCK);
		
		facade.create(akira);
		facade.create(marcos);
		facade.create(joao);
		
		akira.createLogin("edson", "123321");
		
		facade.login(akira.getNick(), "edson", "123321");

		facade.addFile(akira, new Music("a", 23, "Bixeira"));
		facade.addFile(akira, new Music("a", 23, "Bixeira"));
		facade.addFile(akira, new Photo("a", 23, 100, 200));
		
		facade.addFile(marcos, new Video("Vai sentando", 1990, "2:50"));
		facade.addFile(marcos, new Music("Empreguetes - Todo o dia toda hora", 2012, "Cheia de charme"));
		
		facade.addFile(joao, new Music("Te levo comigo", 2001, "Pesado"));
		facade.addFile(joao, new Music("Dr. online", 2012, "Pesado"));
		facade.addFile(joao, new Music("So rezo", 2009, "Pesado"));
		facade.addFile(joao, new Music("Te levo comigo", 2000, "Pesado"));
		
		facade.musicProfile(akira);
		facade.musicProfile(joao);
		
		facade.searchFile(akira, new Music("a", 23, "Bixeira"));

		facade.addFriend(akira, marcos);
		facade.addFriend(akira, new Profile("Tonho", "toninho@santos.br", Instrument.BATERIA, Style.POP));
		
		facade.addFriend(marcos, joao);
		facade.addFriend(marcos, new Profile("Caroline Alburqueqe", "caroline@aki", Instrument.GUITARRA, Style.METAL));

		facade.friends(joao);
		facade.friends(akira);
		facade.friends(marcos);
		
		Band band = facade.createBand(akira, "Bravo destemido", Style.METAL, 2012);
		band.addMember(marcos);
		band.addMember(joao);
		
		facade.getMembers(akira);

		Topic vaga = facade.createTopic(akira, "Vagas!!!", "Contrata-se baterista");
		marcos.replayTopic(vaga, "eu topo... adiciona eu como amigo!");
		new Profile("Ceboso", "", Instrument.BAIXO, Style.ROCK).replayTopic(vaga, "affff");
		
		facade.getReplies(vaga);

		Topic nada = facade.createTopic(marcos, "Teste", "Testando 01");
		Topic nadica = facade.createTopic(marcos, "Oiiiii", "Testando 02");

		marcos.replayTopic(nada, "ooo");
		facade.searchTopic(marcos);
		
		facade.allTopics();
		
		facade.searchTopic(akira);
		
	}
}